import Vue from 'vue'
import Vuex from 'vuex'

import state from './state'
import getters from './getters'
import actions from './actions'
import mutations from './mutations'
import app from './modules/app'
import login from './modules/login'

Vue.use(Vuex)
export default new Vuex.Store({
    getters,
    state,
    actions,
    mutations,
    modules: { app,login }
})